package cn.seaboot.admin.excel.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
* POJO
* Excel日志明细 [t_excel_log_item]
* @author ChenSS on 2018/6/20.
*/
@Schema(description = "Excel日志明细 [t_excel_log_item] 实体类")
public class ExcelLogItem implements Serializable {

    /**
    * ID
    */
    @NotNull
    @Schema(description = "ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;
    /**
    * 执行批次
    */
    @Schema(description = "执行批次")
    private Long batchId;
    /**
    * 文件ID
    */
    @Schema(description = "文件ID")
    private Long sourceId;
    /**
    * 行号
    */
    @Schema(description = "行号")
    private Long rowNo;
    /**
    * 处理结果
    */
    @Schema(description = "处理结果")
    private Integer status;
    /**
    * 简短的异常描述
    */
    @Size(max = 128)
    @Schema(description = "简短的异常描述")
    private String errorMessage;
    /**
    * 数据关键字
    */
    @Size(max = 32)
    @Schema(description = "数据关键字")
    private String keyword;
    /**
    * 简短的数据描述
    */
    @Size(max = 32)
    @Schema(description = "简短的数据描述")
    private String description;
    /**
    * 创建日期
    */
    @Schema(description = "创建日期")
    private java.time.LocalDateTime gmtCreate;
    /**
    * 修改日期
    */
    @Schema(description = "修改日期")
    private java.time.LocalDateTime gmtModified;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBatchId() {
        return batchId;
    }

    public void setBatchId(Long batchId) {
        this.batchId = batchId;
    }

    public Long getSourceId() {
        return sourceId;
    }

    public void setSourceId(Long sourceId) {
        this.sourceId = sourceId;
    }

    public Long getRowNo() {
        return rowNo;
    }

    public void setRowNo(Long rowNo) {
        this.rowNo = rowNo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public java.time.LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(java.time.LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public java.time.LocalDateTime getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(java.time.LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }
}
